package mx.messaging.messages;

extern class AbstractMessage implements IMessage {
	var body : Dynamic;
	var clientId : String;
	var destination : String;
	var headers : Dynamic;
	var messageId : String;
	var timeToLive : Float;
	var timestamp : Float;
	function new() : Void;
	function readExternal(input : flash.utils.IDataInput) : Void;
	function toString() : String;
	function writeExternal(output : flash.utils.IDataOutput) : Void;
	private function addDebugAttributes(attributes : Dynamic) : Void;
	private function getDebugString() : String;
	private function readFlags(input : flash.utils.IDataInput) : Array<Dynamic>;
	static var DESTINATION_CLIENT_ID_HEADER : String;
	static var ENDPOINT_HEADER : String;
	static var FLEX_CLIENT_ID_HEADER : String;
	static var REMOTE_CREDENTIALS_CHARSET_HEADER : String;
	static var REMOTE_CREDENTIALS_HEADER : String;
	static var REQUEST_TIMEOUT_HEADER : String;
}
